package com.bjfu.eduservice.client;

import com.bjfu.common_utils.R;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class VodFileDegradeFeignClient implements VodClient {
    /*
    调用接口正确的话这里不会执行
    调用接口错误的话回到这里执行
     */
    @Override
    public R deleteVideo(String id) {
        return R.error().message("删除视频出错啦");
    }

    @Override
    public R deleteBatch(List<String> videoList) {
        return R.error().message("批量删除视频出错啦");
    }
}
